projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0517ab
)
Fix failed autorevert test on emba
author
Michael Albinus
<michael.albinus@gmx.de>
Sat, 23 Jan 2021 15:59:07 +0000
(16:59 +0100)
committer
Michael Albinus
<michael.albinus@gmx.de>
Sat, 23 Jan 2021 15:59:07 +0000
(16:59 +0100)
* test/lisp/autorevert-tests.el (auto-revert-test05-global-notify):
Check, whether buffer is alive.
test/lisp/autorevert-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/autorevert-tests.el
b/test/lisp/autorevert-tests.el
index 6da515bb2c87e21f1a85ae95700414bdb4a1a16f..683e3ea30d4c73af19a7e66a04d40cdfb1408093 100644
(file)
--- a/
test/lisp/autorevert-tests.el
+++ b/
test/lisp/autorevert-tests.el
@@
-524,8
+524,10
@@
This expects `auto-revert--messages' to be bound by
(auto-revert-test--write-file "1-b" file-1)
(auto-revert-test--wait-for-buffer-text
buf-1 "1-b" (auto-revert--timeout))
- (should (buffer-local-value
- 'auto-revert-notify-watch-descriptor buf-1))
+ ;; On emba, `buf-1' is a killed buffer.
+ (when (buffer-live-p buf-1)
+ (should (buffer-local-value
+ 'auto-revert-notify-watch-descriptor buf-1)))
;; Write a buffer to a new file, then modify the new file on disk.
(with-current-buffer buf-2